package com.example.birdfriends.pojo.comment;

import com.example.birdfriends.pojo.user.User;

import java.util.List;

public class CommentsAndAuthors {
    private List<CommentFront> commentList;  // 返回给前端的评论列表
    private List<User> authorList;  // 返沪给前端的评论的作者列表

    public void setCommentList(List<CommentFront> commentList) {
        this.commentList = commentList;
    }

    public void setAuthorList(List<User> authorList) {
        this.authorList = authorList;
    }

    public List<CommentFront> getCommentList() {
        return commentList;
    }

    public List<User> getAuthorList() {
        return authorList;
    }
}
